import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

import Aboutme from "../myl/Aboutme";
import Set from "../myl/Set";
import Studay from "../myl/Studay";
import guanzhu from "../myl/guanzhu";
import english from "../myl/english";
import Shouye from "../views/zyq/Shouye";
import cihuiyufa from "../views/zyq/cihuiyufa";
import monikaoti from "../views/zyq/monikaoti";
import denglu from "../views/zyq/denglu";
import DanCiBen from "../yyz/DanCiBen";
import FanYi from "../yyz/FanYi";
import QiuZhi from "../yyz/QiuZhi";
import YueDu from "../yyz/YueDu";
import Home from "../pages/Home";

let routes = [
    {
        path: '/',
        component: Shouye
    },
    {
        path: '/Shouye',
        component: Shouye
    },
    {
        path: '/Set',
        component: Set
    },
    {
        path: '/Aboutme',
        component: Aboutme
    },
    {
        path: '/Studay',
        component: Studay
    },
    {
        path: '/guanzhu',
        component: guanzhu
    },
    {
        path: '/english/:id',
        component: english
    },
    {
        path: '/cihuiyufa',
        component: cihuiyufa
    },
    {
        path: '/monikaoti',
        component: monikaoti
    },
    {
        path: '/denglu',
        component: denglu
    },
    {
        path: '/QiuZhi',
        component: QiuZhi
    },
    {
        path: '/DanCiBen',
        component: DanCiBen
    },
    {
        path: '/FanYi',
        component: FanYi
    },
    {
        path: '/YueDu',
        component: YueDu
    },
    {
        path: '/Home',
        component: Home
    },



]


// 创建Vue-router对象
// export default 对外开放
export default new VueRouter({
    routes: routes
});



